package com.nineclock.api.attendance;

import com.nineclock.attendance.dto.AttendGroupDTO;
import com.nineclock.common.entity.PageResult;
import com.nineclock.common.entity.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "考勤组管理接口", tags = "考勤服务", description="考勤组管理接口")
public interface AttendGroupControllerApi {

    //分页查询考勤组信息
    @ApiOperation("考勤组: 分页查询")
    public Result<PageResult<AttendGroupDTO>> queryAttendGroupPage(Integer page, Integer pageSize);

    //添加考勤组
    @ApiOperation(value = "考勤组: 添加")
    public Result addAttendGroup(AttendGroupDTO attendGroupDTO);


    @ApiOperation(value = "考勤组: 查询当前用户关联的考勤组")
    public Result<AttendGroupDTO> queryAttendGroup();

}
